find_package(SDL2 QUIET)

if(NOT SDL2_FOUND)
    message(STATUS "SDL2 not found; skipping sdl plugin.")
    return()
endif()

create_fooyin_plugin_internal(
    sdl
    DEPENDS Fooyin::Core
            ${SDL2_LIBRARIES}
    SOURCES sdlplugin.cpp
            sdlplugin.h
            sdloutput.cpp
            sdloutput.h
)
